package com.example.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 部门
 */
@Data
@TableName("department_")
@AllArgsConstructor
@NoArgsConstructor
public class Department implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value = "my_id_", type = IdType.ASSIGN_ID)
    private String myId;

    /**
     * 部门名称
     */
    @TableField("name_")
    private String name;

    /**
     * 部门电话
     */
    @TableField("phone_")
    private String phone;

    /**
     * 备注
     */
    @TableField("remark_")
    private String remark;


}
